import { Component, Input } from '@angular/core';
import { PropertyGridConfig } from '../models';

@Component({
  selector: 'property-grid',
  templateUrl: './property-grid.component.html',
  styleUrl: './property-grid.component.scss'
})
export class PropertyGridComponent {
  @Input() config?: PropertyGridConfig;

  get groups() { return this.config?.groups ?? []; };
}


